package routers

import (
	purchasedetail "chinasoccer/apis/purchaseDetail"

	"github.com/gin-gonic/gin"
)

func PurchaseDetailRouter(r *gin.RouterGroup) {
	r.GET("/purchase_detail", purchasedetail.GetAllPurchaseDetail)
	r.POST("/purchase_detail", purchasedetail.AddPurchaseDetail)
	r.PUT("/purchase_detail", purchasedetail.UpdatePurchaseDetail)
	r.DELETE("/purchase_detail/:id", purchasedetail.DelPurchaseDetail)
}
